package com.ewo.service.impl.workOrder;

import com.ewo.entity.workOrder.ReceiptInformation;
import com.ewo.mapper.ReceiptInformationMapper;
import com.ewo.service.workOrder.ReceiptInformationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ReceiptInformationServiceImpl implements ReceiptInformationService {
    @Resource
    ReceiptInformationMapper receiptInformationMapper;

    //填写回单信息
    public int addReceiptInformation(ReceiptInformation receiptInformation){
        return receiptInformationMapper.addReceiptInformation(receiptInformation);
    }
    //返回回单信息
    public ReceiptInformation findReceiptInformation(int orderId){
        return receiptInformationMapper.findReceiptInformation(orderId);
    }
}
